package data.nanjing.expo.models.domain.dto.exhibition;


import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 展商详情页和展商在线筛选
 *
 * @author ChanJi
 * @create 2018-06-20 8:50
 **/
public class ExpoScreenDto {
    /**
     * 展会id
     */
   @NotNull
   private Integer id;
    /**
     * 展馆id
     */
    @Min(value = 0,message = "请输入正确的展馆id")
    private Integer hallId;
    /**
     * 展区id
     */
    @NotEmpty(message ="请输入正确的展区名称")
    private Integer areaId;
    /**
     * 当前页页码
     */
    @Min(value = 1,message = "请输入正确的页码")
    private Integer page;
    /**
     * 每页数量
     */
    @Min(value = 1,message = "请输入正确的每页数量")
    private Integer limit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHallId() {
        return hallId;
    }

    public void setHallId(Integer hallId) {
        this.hallId = hallId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "ExpoScreenDto{" +
                "id=" + id +
                ", hallId=" + hallId +
                ", areaId=" + areaId +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
